<template>
  <div class="about-info-wrapper">
    <div class="about-title">
      <div class="small-box"></div>
      <span>{{aboutTitle}}</span>
    </div>
    <div class="info-container">
      <div class="about-info">
        {{aboutInfo}}
      </div>
      <div>
        <span>{{goWhere}}</span>
        <router-link style="margin-left: 10px" to="/algorithm">
          <img
            src="..\assets\images\探索icon@1x.png"
            alt="探索"
            style="vertical-align: middle"
          />
        </router-link>
      </div>
    </div>
  </div>
</template>

<script>
export default {
    name:'relatedInfo',
    props:{
      aboutTitle:{
        type:String
      },
      aboutInfo:{
        type:String
      },
      goWhere:{
        type:String
      }
    }
}
</script>

<style>
.small-box {
  width: 14px;
  height: 20px;
  border-radius: 8%;
  background: #8c30f5;
  display: inline-block;
  margin-right: 10px;
}
.info-container {
  display: flex;
  margin-top: 10%;
}
.about-info {
  font-size: 20px;
  text-align: left;
  width: 390px;
  display: inline-block;
  margin-right: 200px;
}
</style>